-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add GlobalAsm as a valid ItemKind to StableMIR #138025
base: master
Are you sure you want to change the base?
Conversation
This fixes StableMIR crash when iterating over the items of a crate that contains global assembly.
This actually technically conflicts with #137502, which removes They shouldn't have been there in the first place, but also the Could you please wait until #137502 is landed? Then please adjust the @rustbot blocked |
@compiler-errors let's chat about the kinds of items you think we should return here, and the best way to implement that. This is today one of the main entry points to StableMir. I'm also considering adding a stable API to get the results from rustc's collector, likely without the cgu part. |
☔ The latest upstream changes (presumably #139417) made this pull request unmergeable. Please resolve the merge conflicts. |
This fixes StableMIR crash when iterating over the items of a crate that contains global assembly.
Fixes rust-lang/project-stable-mir#95